package chapter2_11_false_share;

import sun.misc.Contended;

/**
 * 对象头8字节, value8字节,p48字节 = 64字节
 * 使用@sun.misc.Contended,避免伪共享
 * @author huayuhao
 * @date 2020/12/16 15:20
 */
@Contended
public class TestCacheLine {

    public volatile long value = 0L;
    public long p1, p2, p3, p4, p5, p6;



}
